package com.ruoyi.quality.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 质检任务
 * @TableName t_inspection_task
 */
@TableName(value ="t_inspection_task")
@Data
public class InspectionTask implements Serializable {
    /**
     * 
     */
    @TableId
    private Long id;

    /**
     * 
     */
    private String code;

    /**
     * 
     */
    private String createBy;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private String updateBy;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    private Boolean delFlag;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String remark;

    /**
     * 1.待检
     * 2.检验中
     * 3.检验结束
     * 4.检验作废
     */
    private String status = "待检";

    /**
     * 
     */
    private Long inspectionTemplateId;


    /**
     * 数量
     */
    private Integer qty;

    /**
     * 物料ID
     */
    private Long materialId;

    /**
     * 物料编码
     */
    private String materialCode;

    /**
     * 单号
     */
    private String orNo;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}